<!DOCTYPE html>
<html>
<head>

    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <script type="text/javascript" src="{{url_for('static',filename='js/echarts.min.js')}}"></script>
    <script type="text/javascript" src="{{url_for('static',filename='js/jquery.min.js')}}"></script>
    <script src="{{url_for('static',filename='js/bootstrap.min.js')}}"></script>

    <link rel="stylesheet" href="{{url_for('static',filename='css/bootstrap.min.css')}}">

    <title>添之咨询后台管理系统</title>
    <style>
    .button[disabled] {
        opacity: 0.6;
        cursor: not-allowed;
    }
    .changeColor{background:rgb(68, 113, 188)}
    #block2{height:23px;width:500px;border:#ccc 1px solid;font-size:12px;text-align:center;overflow:hidden;}
    #block2 p{height:14px;}
    </style>
</head>
<body>
<nav class="navbar navbar-default" role="navigation">
    <div class="container-fluid">
    <div class="navbar-header">
        <a class="navbar-brand" href="#">添之咨询后台管理系统</a>
    </div>
    <div>
        <ul class="nav navbar-nav">
            <li ><a href="{{ url_for('start_web') }}">首页</a></li>
            <li ><a href="{{ url_for('permission_manage') }}">权限配置</a></li>
        </ul>
        <ul class="nav navbar-nav navbar-right">
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                    管理员{{ session['admin'] if session['admin'] else "未登录" }}
                    <b class="caret"></b>
                </a>
                <ul class="dropdown-menu">
                    <li><a href="{{ url_for('login_out')}}">退出</a></li>
                </ul>
            </li>
        </ul>
    </div>
    </div>
</nav>
<div id="all_content" style="margin:auto; width:80%">

<!--最上面放buton    -->
<div align="center">

    <div class="btn-group btn-group-lg" role="group" aria-label="...">

        <div class="btn-group" role="group">
        <button type="button" class="btn btn-primary" onclick="taskSchedule()">定时任务管理</button>
        </div>

        <div class="btn-group" role="group">
        <button type="button" class="btn btn-primary" onclick="task2()">task2</button>
        </div>

        <div class="btn-group" role="group">
        <button type="button" class="btn btn-primary" onclick="task3()">task3</button>
        </div>


        <div class="btn-group" role="group">
        <button type="button" class="btn btn-primary" onclick="task4()">task4</button>
        </div>


        <div class="btn-group" role="group">
        <button type="button" class="btn btn-primary" onclick="task5()">task5</button>
        </div>

        <div class="btn-group" role="group">
        <button type="button" class="btn btn-primary" onclick="task6()">task6</button>
        </div>

    </div>
</div>


<br/>
<br/>

</div>
<br/>


<script type="text/javascript">

    function taskSchedule(){
        window.open("./taskSchedule");
    }

    function task2(){
        window.open("./task2");
    }

    function task3(){
        window.open("./task3");
    }

    function task4(){
        window.open("./task4");
    }

    function task5(){
        window.open("./task5");
    }

    function task6(){
        window.open("./task6");
    }



</script>

</body>
</html>